package com.smartStatus.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;

import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.TableLogic;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 用户学籍表 实体类
 *
 * @author lby
 * @since 2021-03-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sys_student_status")
@ApiModel(value = "SysStudentStatus", description = "用户学籍表")
public class SysStudentStatus extends Model<SysStudentStatus> {

    /**
     * 主键
     */
    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 学籍号
     */
    @ApiModelProperty(value = "学籍号")
    private String number;

    /**
     * 学历
     */
    @ApiModelProperty(value = "学历")
    private String education;

    /**
     * 学籍照片
     */
    @ApiModelProperty(value = "学籍照片")
    private String paperImage;

    /**
     * 入学时间
     */
    @ApiModelProperty(value = "入学时间")
    private LocalDateTime admissionTime;

    /**
     * 用户id
     */
    @ApiModelProperty(value = "用户id")
    private Integer userId;

    /**
     * 学校id
     */
    @ApiModelProperty(value = "学校ID")
    private Integer tenantId;

    /**
     * 学号
     */
    @ApiModelProperty(value = "学号")
    private String studentNumber;

    /**
     * 院系
     */
    @ApiModelProperty(value = "院系")
    private String department;

    /**
     * 专业
     */
    @ApiModelProperty(value = "专业")
    private String major;

    /**
     * 学制
     */
    @ApiModelProperty(value = "学制")
    private String educationalSystem;

    /**
     * 学习形式
     */
    @ApiModelProperty(value = "学习形式")
    private String learningForm;

    /**
     * 学籍状态 0：正常 1：注销
     */
    @ApiModelProperty(value = "学籍状态 0：正常 1：注销")
    private Integer state;

    @TableLogic
    private Integer delFlag;

    private Integer createBy;

    private LocalDateTime createTime;
}
